<!--<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST"   action="">-->

<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('业务时间设置')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->

<!--    <div class="form-group layer-footer">-->
<!--        <label class="control-label col-xs-12 col-sm-2"></label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <button type="submit" class="btn btn-primary btn-embossed ">{:__('OK')}</button>-->
<!--            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
<!--        </div>-->
<!--    </div>-->
<!--</form>-->
<!DOCTYPE html>
<html>
<head>
    {include file="common/meta" /}

    <!--@formatter:off-->
    <style type="text/css">
        * {
            margin: 0;
            padding: 0;
        }

        html, body {
            height: 100%;
            width: 100%;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            background-color: #fff;
        /*    background-size: cover;*/
        /*    text-align: center;*/
        /*    line-height: 580px;*/
        /*    font-size: 68px;*/
        /*    font-weight: 600;*/
        /*    color: #fff;*/
        /*    font-family: PingFangSC, PingFangSC-Semibold;*/
        /*}*/

        .right {
            /*width: 1000px;*/
            /*height: 1000px;*/
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .title {
            color: #000;
            font-weight: 600;
            font-size: 24px;
            margin-top: 150px;
        }

        .input-box {
            display: flex;
            align-items: center;
            width: 300px;
            height: 48px;
            border: 0.5px solid #5d94fb;
            border-radius: 4px;
        }

        .mt30 {
            margin-top: 30px;
        }

        .mt20 {
            margin-top: 20px;
        }






        input {
            border: none;
            margin-left: 24px;
            outline: none;
        }


        .btn {
            width: 300px;
            height: 40px;
            background: #2671fe;
            border-radius: 4px;
            font-family: PingFangSC, PingFangSC-Semibold;
            font-weight: 600;
            color: #fff !important;
            line-height: 26px;
            text-align: center;
            margin-top: 30px;
        }

    </style>

    <!--@formatter:on-->
</head>
<body>

<div class="login-container">
<!--    <div class="left">-->
<!--        {$site.name}管理-->
<!--    </div>-->
    <div class="right">
        <div class="title" id="login">业务时间设置</div>
        <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST"   action="">
            <div id="errtips" class="hide"></div>
            <div class="input-box mt30">
                <input type="text"  name="business_time" autocomplete="off" value="" data-rule="required;">
            </div>


            <button class="btn" type="submit">{:__('提交')}</button>
        </form>
    </div>
</div>
{include file="common/script" /}
</body>
</html>
<script>
    // 检测访问端是否为手机
    function isMobileDevice() {
        return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
    }

    // 页面加载完成后执行检测
    window.onload = function() {
        if (isMobileDevice()) {
            $("#login-form").css({"display":"none"});
            $("#login").text('手机端不能登录');
        }
    };
</script>